package com.holyant.report.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author: Ssw
 * @CreateTime: 2023-09-07  16:40
 * @Description:
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class SalesGoodsStatisticsErpTheDayDto {

    private String goodsBarcode;
    private String goodsName;
    private BigDecimal orderNumber;
    private BigDecimal salesNumber;

    private BigDecimal monthOrderNumber;
    private BigDecimal monthSalesNumber;

    private SalesGoodsStatisticsTheDaySonDto orderDetail;
    private SalesGoodsStatisticsTheDaySonDto salesDetail;

    @AllArgsConstructor
    @Data
    public static class SalesGoodsStatisticsTheDaySonDto {


        public SalesGoodsStatisticsTheDaySonDto() {
            this.c2pNum = BigDecimal.ZERO;
            this.popNum = BigDecimal.ZERO;
            this.b2bNum = BigDecimal.ZERO;
            this.kaNum = BigDecimal.ZERO;
            this.wmNum = BigDecimal.ZERO;
            this.c2pNumMonth =BigDecimal.ZERO;
            this.popNumMonth = BigDecimal.ZERO;
            this.b2bNumMonth = BigDecimal.ZERO;
            this.kaNumMonth = BigDecimal.ZERO;
            this.wmNumMonth = BigDecimal.ZERO;
        }

        private BigDecimal c2pNum;

        private BigDecimal popNum;

        private BigDecimal b2bNum;

        private BigDecimal kaNum;

        private BigDecimal wmNum;


        private BigDecimal c2pNumMonth;

        private BigDecimal popNumMonth;

        private BigDecimal b2bNumMonth;

        private BigDecimal kaNumMonth;

        private BigDecimal wmNumMonth;
    }
}
